export default {
  path: "/good",
  redirect: "/good/type",
  meta: {
    icon: "lsicon:goods-filled",
    title: "商品管理"
  },
  children: [
    {
      path: "/good/type",
      name: "goodType",
      component: () => import("@/views/good/type.vue"),
      meta: {
        icon: "fluent:scan-type-20-filled",
        title: "商品分类"
      }
    },
    {
      path: "/good/spec",
      name: "Spec",
      component: () => import("@/views/good/spec.vue"),
      meta: {
        icon: "material-symbols-light:auto-transmission",
        title: "规格列表",
        showLink: false
      }
    },
    {
      path: "/good/specItem",
      name: "SpecItem",
      component: () => import("@/views/good/specItem.vue"),
      meta: {
        icon: "material-symbols-light:auto-transmission",
        title: "规格详情",
        showLink: false
      }
    },
    {
      path: "/good/list",
      name: "GoodList",
      component: () => import("@/views/good/list.vue"),
      meta: {
        icon: "ep:goods",
        title: "商品列表"
      }
    },
    {
      path: "/good/add",
      name: "GoodAdd",
      component: () => import("@/views/good/add.vue"),
      meta: {
        icon: "si:add-fill",
        title: "添加商品",
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
